package com.zzr.demo.redis.service;

/**
 * @author: xiaomi
 * @date: 2021/10/7
 * @description:
 */
public interface LockService {

    /**
     * 获取分布式锁
     *
     * @return
     */
    String lock();

    /**
     * 解锁
     */
    void unlock();
}
